using System;
using System.Collections.Generic;
using QuanLyHocPhi.BLL;

namespace QuanLyHocPhi.Model
{
    public partial class BienCheSinhVienVaoHocKy
    {


        public string NamHoc
        {
            get
            {
                var hk = BizHocKy.GetHocKyByMaHK(MaHocKy);
                if (hk != null)
                {
                    return hk.MaNamHoc;
                }
                else
                    return null;
            }
        }

        public string TenHocKy
        {
            get
            {
                var hk = BizHocKy.GetHocKyByMaHK(MaHocKy);
                if (hk != null)
                {
                    return hk.TenHocKy.ToString();
                }
                else
                    return null;
            }
        }

    }
}
